package cc.comac.mom.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import cc.comac.mom.bean.EquipReqularCheck;
import cc.comac.mom.bean.EquipReqularCheckBean;
import cc.comac.mom.bean.EquipReqularCheckSelectBean;
import cc.comac.mom.bean.ResultDev;
import cc.comac.mom.util.ResultBean;

@FeignClient(name = "mom-equipment-mgmt-srv")
public interface EquipReqularCheckService {
	
	@RequestMapping(value = "/p/cs/EquipReqularCheckService/save",method = RequestMethod.POST)
	ResultBean save(@RequestBody EquipReqularCheckBean obj);
	
	@RequestMapping(value = "/p/cs/EquipReqularCheckService/update",method = RequestMethod.POST)
	ResultBean update(@RequestBody EquipReqularCheck obj);
	
	@RequestMapping(value = "/p/cs/EquipReqularCheckService/disableEquipReqularCheck",method = RequestMethod.POST)
	ResultBean disableEquipReqularCheck(@RequestBody EquipReqularCheckBean obj);
	
	@RequestMapping(value = "/p/cs/EequipReqularCheckService/deleteBatch",method = RequestMethod.POST)
	ResultBean deleteBatch(@RequestBody EquipReqularCheckBean obj);
	
	@RequestMapping(value = "/p/cs/EequipReqularCheckService/getById",method = RequestMethod.POST)
	EquipReqularCheck getById(@RequestBody EquipReqularCheck obj);
	
	@RequestMapping(value = "/p/cs/EquipReqularCheckService/selectByFields",method = RequestMethod.POST)
	ResultDev selectByFields(@RequestBody EquipReqularCheckSelectBean obj);
	
	@RequestMapping(value = "/p/cs/EquipReqularCheckService/selectByCondition",method = RequestMethod.POST)
	EquipReqularCheckBean selectByCondition(@RequestBody EquipReqularCheck obj);
	
	@RequestMapping(value = "/p/cs/EquipReqularCheckService/selectByWorkShop",method = RequestMethod.POST)
	ResultBean selectByWorkShop (@RequestBody EquipReqularCheckSelectBean obj);
}
